package com.hehua.CompositePattern;

/**
 * 抽象文件类,充当抽象构件类
 */
public abstract class AbstractFile {
    public abstract void add(AbstractFile abstractFile);
    public abstract void remove(AbstractFile abstractFile);
    public abstract AbstractFile getChild(int i);
    public abstract void killVirus();
}
